package org.example.spring.service.userServiceImpl;

import org.example.spring.mapper.OrderMapper;
import org.example.spring.service.CheckoutService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CheckoutServiceImpl implements CheckoutService {


    @Autowired
    private OrderMapper orderMapper;

    @Override
    public void pay(Integer orderId) {
        orderMapper.pay(orderId);
    }
}
